<div class="photos form">
<?php echo $this->Form->create('Photo');?>
	<fieldset>
		<legend><?php echo __('Add Photo'); ?></legend>
	<?php
		echo $this->Form->input('url_photo');
		echo $this->Form->input('url_thumb');
		echo $this->Form->input('user_id', array('options' => $users, 'empty' => false));
		echo $this->Form->input('button_type_rating', array('value' => '1'));
// 		echo $this->Form->input('longitude');
// 		echo $this->Form->input('latitude');
// 		echo $this->Form->input('location_latitude');
// 		echo $this->Form->input('location_longitude');
// 		echo $this->Form->input('location_text');
		//echo $this->Form->input('post_time');
		//echo $this->Form->input('number_click_button');
// 		echo $this->Form->input('delete_flag');
		
		//echo $this->Form->input('post_model');
		//echo $this->Form->input('filter_id');
		echo $this->Form->input('caption');
		//echo $this->Form->input('point');
		//echo $this->Form->input('client_post_time');
		//echo $this->Form->input('link_facebook');
		//echo $this->Form->input('link_twitter');
		//echo $this->Form->input('link_weibo');
		//echo $this->Form->input('link_tumblr');
		//echo $this->Form->input('link_flickr');
		//echo $this->Form->input('location_id');
		//echo $this->Form->input('url_id');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Photos'), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Comments'), array('controller' => 'comments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Comment'), array('controller' => 'comments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Friends'), array('controller' => 'friends', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Friend'), array('controller' => 'friends', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Popular Informations'), array('controller' => 'popular_informations', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Popular Information'), array('controller' => 'popular_informations', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ratings'), array('controller' => 'ratings', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Rating'), array('controller' => 'ratings', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Reports'), array('controller' => 'reports', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Report'), array('controller' => 'reports', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List User Pennants'), array('controller' => 'user_pennants', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User Pennant'), array('controller' => 'user_pennants', 'action' => 'add')); ?> </li>
	</ul>
</div>
